
import Login from '../views/Login'
import Page404 from '../views/Page404'
import Home from '../views/app/Home'
import Movies from '../views/app/Movies'
import About from '../views/app/About'

// 主要路由
export const mainRoutes = [
  {
    path: '/login',
    component: Login
  },
  {
    path: '/404',
    component: Page404
  }
]

export const appRoutes = [
  {
    path: '/app/home',
    component: Home,
    title: 'Home'
  },
  {
    path: '/app/movies',
    component: Movies,
    title: 'Movies'
  },
  {
    path: '/app/about',
    component: About,
    title: 'About'
  },
]